package cn.rtplay.esp32camcar.rxHttpGet;

/**
 * Created by JohnsonFan on 2017/9/29.
 */

public class Response<T> {

	private int errorCode;//约定  -1为server返回数据异常  0为正常范围
	private String message;
	private T data;

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
